<!-- Page footer -->
<!-- usercenter -->


<div id="usercenter" xmlns="http://www.w3.org/1999/html">
   <?php if(($_SESSION['HomeUserInfo']['levelid'])>0){?>
    <div id="usercenter_small">
        <b>读<br/>友<br/>中<br/>心</b>
        <img width="40" height="40" class="usercenter_img" SRC='/Public/home/images/default_head3.jpg' alt='mmy' />
    </div>
    <div id="usercenter_big">
        <b>读友中心</b>

        <div align="center" >
            <p><img width="60" height="60" class="usercenter_img" SRC='/Public/home/images/default_head3.jpg' alt='mmy' /></p>
            <p><?php echo $_SESSION['HomeUserInfo']['username']?><br/>等级：<?php echo $_SESSION['HomeUserInfo']['levelid']?></p>
        </div>

        <ul>
            <li>用户中心</li>
            <ul>
                <li><a href="/index.php?c=login&a=nickname">用户中心</a></li>
            </ul>
            <li>消息中心</li>
            <ul>
                <li><a href="/msg/list/0">未读消息</a></li>
                <li><a href="/msg/list/1">已读消息</a></li>
            </ul>

            <li>领读书籍</li>
            <ul>
                <li><a href="/book/userLeadReadBook/142-1-7">已领读书籍</a></li>
                <li><a href="/book/userWaitLeadReadBook/142-1-9">待领读书籍</a></li>
                <li><a href="/book/userWaitExamine/142-1-9">待审核书籍</a></li>
            </ul>
            <li>读书历程</li>
            <ul>
                <li><a href="/book/userReadBook/142-1-7">读书历程</a></li>
                <li><a href="/book/userFocusBook/142-1-7">关注的书</a></li>
                <li><a href="/notes/pageNoteByUser/142-1-0">笔记列表</a></li>
            </ul>

            <li>系统管理</li>
            <ul>
                <li><a href="/index.php?c=login&a=nickname">修改昵称</a></li>
                <li><a href="/index.php?c=login&a=userMessage">完善资料</a></li>
                <li><a href="/index.php?c=login&a=modpasswd">修改密码</a></li>
                <li><a href="/index.php?c=login&a=logout">退出登录</a></li>
            </ul>
        </ul>
    </div>
    <?php }else{?>
    <div id="usercenter_small">
    <b>读<br/>友<br/>中<br/>心</b>
    <br/><br/><br/><b>请<br/>先<br/>登<br/>录<br/>，<br/>或<br/>注<br/>册</b>
    </div>
    <div id="usercenter_big">
    <b>读友中心</b>
    <br/><br/><br/><b><a href="index.php?c=login&a=index"  rel="nofollow">登录</a><br/><br/>
    <a href="index.php?c=login&a=register" tppabs="index.php?c=login&a=register" rel="nofollow">注册</a></b>
    </div>
    <?php }?>
    </div>
<!-- usercenter -->
<div id="bottom">
    <div class="wrapper">
        <ul>
            友情链接：QQ:1959531621 ·
            <a href=""  target="_blank">好书推荐</a> ·
            <a href=""  target="_blank">生命的意义</a> ·
            <a href="" target="_blank">美文阅读</a> ·
            <a href=""  target="_blank">散文随笔</a> ·
            <a href=""  target="_blank">天尚探索</a> ·
            <a href="" target="_blank">美文网</a>·
            <a href=""  target="_blank">诗词鉴赏</a>·
            <a href=""  target="_blank">中国野史</a>·
            <a href=""  target="_blank">神话故事</a>
        </ul>

        <p>
            Copyright &copy; 2012
            <a href="" >同读一本书</a>，记录<a href="index.htm" tppabs="http://www.duyou8.com/">读书笔记</a>，交流<a href="index.htm" tppabs="http://www.duyou8.com/">读书心得</a>，分享<a href="index.htm" tppabs="http://www.duyou8.com/">读后感</a>。
            <a href="" >读友吧手机版</a>
            <a href="" >读书笔记大全</a>
            <a href=""  target="_blank" rel="nofollow">沪ICP备14032834号-1</a>
        </p>
    </div>
</div>

<!--new code-->
<style type="text/css">
    .privateButton p{
        display: none;
    }
</style>
        <!--私聊界面开始-->
        <div class="private_area" id="private_area" point="hand">
            <div class="private_area_right">
                <div class="private_area_right_title">
                    <span id="user_title">毛毛</span>
                        <a href="javascript:void(0)" id="private_close_button" class="private_area_right_kua"></a>
                </div>
                <!--聊天区域-->
                <div class="chat-face-centent2 pa" id="faceCentent2" style="display:none"></div>
                <div class="private_area_right_connect"></div>
                <div class="private_area_right_talk">
                    <div class="face_icon_area">
                        <button class="icon icon-1" title="表情" id="faceBtn2"  unselectable="on"></button>
                    </div>
                    <div class="private_input_area">
                     <div class="input_area" contenteditable="true" id="chatText2"></div>
                        <div class="private_submit_button" id="private_submit"></div>
                    </div>
                </div>
                <div class="private_area_right_intro"></div>
            </div>
            <!--私聊用户列表-->
            <div class="private_area_user">
                <div class="private_area_user_li"></div>
            </div>
        </div>
        <!--私聊界面结束-->
        <!--私聊，封ip，禁言隐藏层-->
        <div class="privateButton" id="">
            <p>私聊</p>
            <p>禁言</p>
            <p>封IP</p>
        </div>
        <!--私聊，封ip，禁言隐藏层结束-->
<!--聊天隐藏层-->
<div  class="talkRight talkRight_hide">
    <div id="menu-trigger" class="click_me"><span><img width="50px" height="50px" src="/Public/home/images/talk.jpg"></span></div>
    <div class="chat-face-centent pa" id="faceCentent" style="display:none"></div>
    <!--聊天div-->
    <div name="roomTitle" class="talkRight_roomtitle"><span><strong>书虫聊天室</strong></span></div>
    <div class="talkRight_on"  id="userTalkContent">

    </div>
    <!--聊天div结束-->
    <!--用户列表div-->
    <div class="talkRight_list" id="userList">

    </div>
    <!--用户列表div结束-->
    <div class="talkRight_down">
        <div class="talkRight_center" unselectable="on">
            <button class="icon icon-1" title="表情" id="faceBtn" style="cursor: pointer;width: 20px;height: 20px" ></button>
            <span class="icon icon-2" title="清空聊天室" id="cleanRoom"></span>
        </div>

        <div class="talkRight_bottom">
            <!--聊天输入框-->
            <div class="talkRight_left content" contenteditable="true" id="chatText">

            </div>
            <!--聊天输入框结束-->
            <div class="talkRight_right">
               <img src="/Public/home/images/ok.jpg" onclick="Msg.onsubmit()" width="70" height="65"style="padding-top: 3px;">
            </div>
            <!-- 表情 -->
        </div>
    </div>

</div>

<script type="text/javascript">
    $(function () {
        $('#menu-trigger').click(function(){
            var have = $('.talkRight').hasClass('talkRight_show');
            if (have){
                $('.talkRight').removeClass('talkRight_show');
                $('.talkRight').addClass('talkRight_hide');
            }else{
                $('.talkRight').removeClass('talkRight_hide');
                $('.talkRight').addClass('talkRight_show');
            }
        });

        $("body").on('click',function(e){
            $(".privateButton").css({
                display:'none'
            });

        });
    });
</script>
<!--new code end-->
<!-- End of Page footer -->
</body>
</html>
<script type="text/javascript" src="/Public/home/js/socket/json2.js"></script>
<script src="/Public/home/js/socket/socket_book.js" ></script>
<script type="text/javascript" src="/Public/home/js/socket/web_socket.js"></script>
<script type="text/javascript" src="/Public/home/js/socket/swfobject.js"></script>
<script src="/Public/home/js/face.js" ></script>
<script src="/Public/home/js/talk.js" ></script>
<script src="/Public/home/js/privateChat.js" ></script>

